<?php

/**
 * Subclass for representing a row from the 'kernel.departamento' table.
 *
 * 
 *
 * @package plugins/kernel/lib.model
 */ 
class KernelDepartamento extends BaseKernelDepartamento
{
	/**
	 * Initializes internal state of KernelDepartamento object.
	 * @see        parent::__construct()
	 */
	public function __construct()
	{
		// Make sure that parent constructor is always invoked, since that
		// is where any default values for this object are set.
		parent::__construct();
	}

    public function __toString()
    {
    	return $this->nombre;
    }

    public function infoAutocompletar()
    {
        $info = array();
        $info[] = $this->getId();
        $info[] = $this->getNombre();
        
        return $info;
    } 
}
